public class TestDemo01 {
    public static void main(String[] args) {
        Home myHome = new Home(200, "三室一厅", "北京三里屯888号");
        Home myHome1 = new Home(2000, "三室一厅", "北京三里屯888号");

//        Gear gear = new Gear("床", 10, 3500);
//        Gear gear1 = new Gear("沙发", 18, 5500);
//
//        // 装修
//
//        myHome.zhuang(gear);
//        myHome.zhuang(gear1);

        for (int i = 0; i < 20; i++) {
            Gear gear = new Gear("床", 11, 3500);
            myHome1.zhuang(gear);
        }

        // 打印家装修了多少个家具
        myHome1.introduce();


    }
}
